package mapper;

import entity.Users;
import org.springframework.stereotype.Service;

@Service
public interface UserMapper {
    int register(Users users);
    /*
    删除用户
     */
    void delete(int id);
    /*
    修改用户
     */
    void update(Users users);
    /*
    根据姓名关键字，模糊查询用户
     */
    Users findUsersById(String username);
}
